package realestate.entity;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 08.04.11
 * Time: 14:40
 * To change this template use File | Settings | File Templates.
 */
@Embeddable
public class DistrictInfo implements Serializable{

	@Column(name = "station", nullable = false)
	private short underground_station;

	@Column(nullable = false)
	private short district;

	public short getStation() {
		return underground_station;
	}

	public void setStation(short underground_station) {
		this.underground_station = underground_station;
	}

	public short getDistrict() {
		return district;
	}

	public void setDistrict(short district) {
		this.district = district;
	}
}
